#设计一个简单员工系统设计，包括不同类型的员工（如全职员工和兼职员工）。每个员工有不同的薪资计算方法
class Employee:
    def __init__(self,hour,hourly_wage):
        self.hour = hour
        self.hourly_wage = hourly_wage
    def calculate_salary(self):
        pass
class FullTimeEmployee(Employee):
    def __init__(self,hour,hourly_wage):
        super().__init__(hour,hourly_wage)
    def calculate_salary(self):
        return  self.hour * self.hourly_wage
class PartTimeEmployee(Employee):
    def __init__(self,hour,hourly_wage):
        super().__init__(hour,hourly_wage)
    def calculate_salary(self):
        return  self.hour * self.hourly_wage
if __name__ == '__main__':
    fullTimeEmployee = FullTimeEmployee(180,100)
    full_time_salary = fullTimeEmployee.calculate_salary()
    print("全职员工的薪资是:", full_time_salary)

    part_time_employee = PartTimeEmployee(80, 50)
    part_time_salary = part_time_employee.calculate_salary()
    print("兼职员工的薪资是:", part_time_salary)